package com.open.api.ftp.common;

/**
 * 操作类型
 */
public enum TypeEnum {
    SENDDATA(1,"发送数据"),
    READDATA(2,"读取数据"),
    GETDIRSANDFILES(3,"获取目录名及数量和目录下的文件名和文件数量"),
    DELETETYPE_RMFILE(4,"删除文件类型_删除文件"),
    DELETETYPE_RMDIR(5,"删除文件类型_删除目录及下面所有文件");

    private int code;
    private String msg;

    TypeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
